<#include "./common/header.htm">
<body class="fixed-sidebar mini-navbar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
       <div class="gray-bg dashbard-1 content">
           <div class="row">
               <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                   <div class="navbar-header">
					   <div class="navbar-logo"></div>
					   <!--<input type="text" placeholder="姓名/手机/银行账号/身份证号" class="forsearch">-->
					   <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
					   <div class="forindex-con">
						   <div class="forindex-img"></div>
						   <div class="navbar-forindex">首页</div>
					   </div>
                       <div class="navbar-logo"></div>
                       <div class="user-content">
                           <div class="user-con">
                               <div class="user-img"></div>
                               <div class="user-nick">${loginUser.nickName!}&nbsp;&nbsp;<span class="glyphicon glyphicon-menu-down" aria-hidden="true"></span></div>
                           </div>

                           <ul class="user-edit-con">
                               <li class="muli muli1" onclick="setPwd()"><span class="iconfont icon-icon_xiugaimima icon-span" style="color: #98A7C6;margin-right: 12px;"></span><a href="javascript:void(0);">修改密码</a>
                               </li>
                             <!--  <li class="muli muli2" onclick="getCurrentVersion()"><span class="iconfont icon-shuaxin icon-span" style="color: #98A7C6;margin-right: 12px;"></span><a href="#modal-container-351291" role="button"  data-toggle="modal">版本升级5</a>
                               </li>-->
                               <!--<li class="muli muli3" ><span class="iconfont icon-lianxiwomen icon-span" style="color: #98A7C6;margin-right: 12px;"></span><a href="javascript:void(0);">联系我们</a>
                               </li>-->
                               <li class="divider"></li>
                               <li class="muli muli4" ><span class="iconfont icon-tuichu icon-span" style="color: #98A7C6;margin-right: 12px;"></span><a href="${ctx}logout">安全退出</a>
                               </li>
                           </ul>
                           <span class="clear">
                           		<span class="text-muted text-xs block">${loginUser.roleName!}<b class="caret"></b></span>
                           </span>
                       </div>
                   </div>
               </nav>
           </div>
           <div style="flex:1;">
	           <#list Session.firstLevelMenuList as menu>
		           	<#if (menuCode!"")=="${menu.menuCode!}">
		           	   <iframe width="100%" height="100%" src="${ctx}${menu.menuUrl!}"></iframe>
		           	</#if>
	           </#list>
           </div>
           <!--<div class="fortooter">
               <div class="foot-logo">Copyright &copy; 2019&nbsp;&nbsp;&nbsp; 河南迈锐德实业有限公司&nbsp;&nbsp;&nbsp; 联系电话：0371-69171506
               </div>
           </div>-->
       </div>
   </div>
<div class="robot-content">
	<div class="robot-right">
		<div class="bubble-big">您可以查看账单</div>
		<div class="bubble-middle"></div>
		<div class="bubble-small"></div>
		<img class="robot-robotBodyImg" src="${ctx}/plugins/robot/imgs/robot-body.png" alt="">
	</div>
</div>
<!-- chat-content -->
<div class="chat-content">
	<div class="robot-head">
		<img src="${ctx}/plugins/robot/imgs/robot-head.png" alt="">
	</div>
	<div class="chatRobot-header">我是您的贴心机器人,小m~</div>
	<span id="robot-close" class="iconfont icon-guanbi chatRobot-icon"></span>
	<!-- chat-body -->
	<div class="chat-body">
	</div>
	<!-- chat-send -->
	<textarea class="chat-send" placeholder="您可以输入:流入账号统计、共同户名、导入日志等..." ></textarea>
	<div class="btn-send">发送</div>
</div>
<div class="modal fade" id="modal-container-351291" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
	<div class="modal-dialog modal-dialog-up">
		<div class="modal-content modal-content-up">
			<div class="modal-header modal-headerTip">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			<h4 id="myModalLabel">
				升级版本
			</h4>
			</div>
			<div class="modal-body">
				<div class="Version">当前版本号 :<span id="currentVersion"></span></div>
				<div class="Version">最新版本号 :<span id="newVersion"></span></div>
				<button class="btnNowUpdate">立即更新</button>
			</div>
			<div id="hidebg-up"></div>
		</div>
	</div>
</div>
<link rel="stylesheet" href="${ctx}/bower_components/index-icon/iconfont.css">
<script type="text/javascript">
    var caseId="${caseid!}";
	$(document).ready(function(){
		$(".user-edit-con").hide();
        $(".user-nick").click(function(){
            $(".user-edit-con").toggle()
        })
        var menuCode="${menuCode!}";
        if(!caseId&&(menuCode=='Electronics')){
            chooseCase();
        }
    })
    function chooseCase() {
        base.getView({
            url:"${ctx}/casemanage/list?menuCode=${menuCode!}&menuCode2=${menuCode2!}",
            success:function(result){
                bootbox.dialog({
                    message:result,
                    size:"large",
                    boxCss:{"width":"1270px"},
                    closeButton : false,
                })
            }
        });
    }
</script>
<style type="text/css">
h1{margin-left:20px;font-family:微软雅黑;float:left;width:40%;}
.content{display:flex;flex-direction: column;height:100%;width:100%;
    background:url(${ctx}/imgs/index-imgs/index-background.jpg);
}
.main{flex:1;margin: 100px 270px 0 360px;}
.menublock{    
	float: left;
    width: 200px;
    height: 200px;
    margin: 20px;
    cursor: pointer;
}
.navbar-header{width:100%;height: 65px}
.m-t-xs{line-height:26px;font-size:14px;margin:5px;float:left;}
.text-xs{float:left;line-height:34px;}
.navbar .dropdown-menu{margin-left:-90px;}
.navbar-fixed-top, .navbar-static-top{
    height: 65px;
    background: #245399;
    color: #fff;
}
</style>
</html>
